package com.aica.constant;

/**
 * 校验的字段名称与注解名称
 * @author yly
 * @date 2021/2/10 13:36
 */
public class ValidationNameConstant {
    //注解名称--------------------------

    public static final String NOT_EMPTY =  "NotEmpty";
    public static final String EMAIL =  "Email";
    public static final String PATTERN =  "Pattern";


    //字段名称-------------------------------

    public static final String PATTERN_USER_NAME_1 =  "username";
    public static final String PATTERN_USER_NAME_2 =  "userName";
    public static final String PATTERN_PASSWORD =  "password";
    public static final String PATTERN_OLD_PASSWORD =  "oldPassword";
    public static final String PATTERN_NEW_PASSWORD =  "newPassword";
    public static final String PATTERN_PHONE_NUMBER =  "phoneNumber";

}
